package com.jp.knowledge.my.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by 528787067@qq.com on 2017/5/4.
 */

public class OrderModel implements Serializable {

    /**
     * orderId : 234567890
     * orderTitle :
     * orderState : 1
     * orderTime : 234567890
     * orderAmount : 1234
     * payState : 1
     * payCauses : 1234567
     * relationList : [{"id":"123456789","icon":"34567890","type":1,"name":"34567890"}]
     */

    private String orderId;
    private String orderTitle;
    private int orderState;
    private long orderTime;
    private int orderAmount;
    private int payState;
    private String payCauses;
    private String relationInfo;
    private List<RelationListBean> relationList;

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getOrderTitle() {
        return orderTitle;
    }

    public void setOrderTitle(String orderTitle) {
        this.orderTitle = orderTitle;
    }

    public int getOrderState() {
        return orderState;
    }

    public void setOrderState(int orderState) {
        this.orderState = orderState;
    }

    public long getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(long orderTime) {
        this.orderTime = orderTime;
    }

    public int getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(int orderAmount) {
        this.orderAmount = orderAmount;
    }

    public int getPayState() {
        return payState;
    }

    public void setPayState(int payState) {
        this.payState = payState;
    }

    public String getPayCauses() {
        return payCauses;
    }

    public void setPayCauses(String payCauses) {
        this.payCauses = payCauses;
    }

    public List<RelationListBean> getRelationList() {
        return relationList;
    }

    public void setRelationList(List<RelationListBean> relationList) {
        this.relationList = relationList;
    }

    public String getRelationInfo() {
        return relationInfo;
    }

    public void setRelationInfo(String relationInfo) {
        this.relationInfo = relationInfo;
    }

    public static class RelationListBean implements Serializable {
        /**
         * id : 123456789
         * icon : 34567890
         * type : 1
         * name : 34567890
         */

        private String id;
        private String icon;
        private int type;
        private String name;
        private String companyName;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getCompanyName() {
            return companyName;
        }

        public void setCompanyName(String companyName) {
            this.companyName = companyName;
        }
    }
}
